﻿namespace Probel.PersonalNotes.Controllers
{
    using System;
    using System.Collections.Generic;
    using System.Drawing;
    using System.IO;
    using System.Linq;
    using System.Web;
    using System.Web.Mvc;
    using System.Web.UI.DataVisualization.Charting;

    using Probel.PersonalNotes.Models;
    using Probel.PersonalNotes.Models.Home;

    public class StatisticsController : Controller
    {
        #region Fields

        private readonly RecordManager Manager = new RecordManager();

        #endregion Fields

        #region Methods

        // GET: Statistics
        public ActionResult Index(StatisticsContainer model)
        {
            var result = this.Manager.GetSummaryContainer();
            return View(result);
        }

        #endregion Methods
    }
}